import express from 'express'
const router = express.Router();
import ClassController from '../../controller/basic/ClassController'

router.post('/add', ClassController.addData);
router.post('/update', ClassController.updateRecord);
router.post('/delete', ClassController.deleteRecord);
router.post('/list', ClassController.findByPage);
router.post('/listall', ClassController.findAll);


module.exports = router;